<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>抽奖案例</title>
    <link rel="stylesheet" href="./index.css">
    <script src="./test.js" defer></script>
</head>

<body>
    <!-- 可视区域 -->
    <div class="main">
        <div class="content-container">
            <div class="prize-list active">
                <span>iphonex</span>
            </div>
            <div class="prize-list">
                <span>现金50元</span>
            </div>
            <div class="prize-list">
                <span>HUAWEI</span>
            </div>
            <div class="prize-list">
                <span>现金10元</span>
            </div>
            <div class="prize-list">
                <span>谢谢参与</span>
            </div>
            <div class="prize-list">
                <span>手机优惠卷</span>
            </div>
            <div class="prize-list">
                <span>电脑优惠卷</span>
            </div>
            <div class="prize-list">
                <span>U盘</span>
            </div>

            <!-- 中心的控制区域 -->
            <div class="controller-container">
                <div class="controller-left">
                    <span>还可以抽奖<span class="number-txt"></span>次</span>
                </div>
                <button class="controller-right">点击抽奖</button>
            </div>

        </div>
    </div>
    <!-- 隐藏区域 -->
    <div class="mask-dialog">
        <div class="mask-content">
            <div class="head">
                <span class="title">温馨提示</span>
                <span class="close">&times;</span>
            </div>
            <div class="content">
                恭喜你获得华为
            </div>
            <div class="confirm-btn">再来一次</div>
        </div>
    </div>
</body>

</html>